package com.jic.member.api.rest;

import com.jic.common.base.vo.RestResult;
import com.jic.member.request.MemberIntegralRestRequest;
import com.jic.member.request.MememberIntegralActionRequest;
import com.jic.member.request.MememberIntegralRequest;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * 会员积分
 */
@FeignClient(name = "jic-member",path = "/rest/integral")
public interface MememberActionApi {
    @PostMapping("/getMememberIntegralInfo")
    RestResult getMemberIntegralInfo(@RequestBody MememberIntegralRequest MememberIntegralActionRequest);

    @PostMapping("/updateStoreMemberIntegralInfo")
    RestResult updateStoreMemberIntegralInfo(@RequestBody MememberIntegralActionRequest request);

    @PostMapping("/addMemberIntegral")
    RestResult addMemberIntegralInfoNew(@RequestBody MemberIntegralRestRequest request);
}

